Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMake] Don't update compile definitions for imported targets for MSCV #18766

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

makslevental
Copy link
Contributor

@makslevental makslevental commented Oct 13, 2024

If one uses -DIREE_BUILD_BUNDLED_LLVM=OFF then targets for some libraries become imported/INTERFACE and CMake doesn't let you update their target_compile_definitions. I.e., CMake errors out (not that it would work anyway). So just check and skip in that case.

@makslevental makslevental requested review from stellaraccident, ScottTodd and IanWood1 and removed request for benvanik October 13, 2024 01:15
@ScottTodd ScottTodd added infrastructure Relating to build systems, CI, or testing platform/windows 🚪 Windows-specific build, execution, benchmarking, and deployment labels Oct 15, 2024
@ScottTodd ScottTodd merged commit 9f93073 into iree-org:main Oct 15, 2024
35 checks passed
@makslevental makslevental deleted the patch-1 branch October 15, 2024 20:34
makslevental added a commit to nod-ai/iree-amd-aie that referenced this pull request Oct 17, 2024
Get iree-org/iree#18766 which fixes a TODO.

---------

Co-authored-by: yzhang93 <zhyuhang88@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Relating to build systems, CI, or testing platform/windows 🚪 Windows-specific build, execution, benchmarking, and deployment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants